<!-- search area   -->
<div class="row searchLineWrap">
	<form class="form-horizontal" method="post" action="${cxt!}/platform/seo/list" id="searchForm">
		  <div class="row">
		    <div class="col-md-5">
		      <div class="form-group">
		         <label  class="col-md-4 control-label">${_res["system.url"]}</label>
		         <div class="col-md-8">
		            <input type="text" class="form-control" name="seo.l_url" placeholder="${_res['system.url']}" value="${paramMap['seo.l_url']}"/>
		         </div>
		       </div>
		    </div>

		    <div class="col-md-5">
		      <div class="form-group">
		         <label  class="col-md-4 control-label">${_res["systemManage.seoTitle"]}</label>
		         <div class="col-md-8">
		            <input type="text" class="form-control" name="seo.l_title" placeholder="${_res['systemManage.seoTitle']}" value="${paramMap['seo.l_title']}"/>
		         </div>
		       </div>
		    </div>	    
		</div>	
		<div class="row">	
			<div class="col-md-5">
		      <div class="form-group">
		         <label  class="col-md-4 control-label">${_res["systemManage.seoKeywords"]}</label>
		         <div class="col-md-8">
		            <input type="text" class="form-control" name="seo.l_keywords" placeholder="${_res['systemManage.seoKeywords']}" value="${paramMap['seo.l_keywords']}"/>
		         </div>
		       </div>
		    </div>    
		    <div class="col-md-2">
		        <div class="form-group">
		          <button type="button" class="btn btn-primary pull-left" onclick="ajaxForm('content','searchForm')">
		          <i class="fa fa-search m-l-sm m-r-xs"></i>${_res["system.search"]}</button>
		        </div>
		    </div>
		  </div>
	</form>
</div>
<!-- search area end  -->

<div class="row searchLineWrap">
	<% if(hasPrivilegeUrl("seoAdd")){ %>
		<p><a href="javascript:void(0);" onClick="ajaxContent('/platform/seo/add/a');" class="btn btn-primary pull-left">${_res["systemManage.addSeo"]}</a><div class="clearfix"></div></p>
	<% } %>
	<table class="table table-bordered table-hover dataTables-example">
	    <thead>
	        <tr>
	            <th>${_res["system.url"]}</th>
	            <th>${_res["systemManage.seoTitle"]}</th>
	            <th>${_res["systemManage.seoKeywords"]}</th>
	            <th>${_res["system.createtime"]}</th>
	            <th>${_res["system.operator"]}</th>
	        </tr>
	    </thead>
	    <tbody>
		    <% for(seo in splitPage.list!){ %>
		      <tr >
		            <td>${seo.url!}</td>
		            <td>${seo.title!}</td>
		            <td>${seo.description!}</td>
		            <td>${seo.createtime!}</td>
		            <td>
		            	<% if(hasPrivilegeUrl("seoView")){ %>
		               		<button type="button" class="btn btn-sm btn-link" onClick="ajaxContent('/platform/seo/view/${seo.id!}');">${_res["system.view"]}</button>
		               	<% } %>
		                <% if(hasPrivilegeUrl("seoEdit")){ %>
		               		<button type="button" class="btn btn-sm btn-link" onClick="ajaxContent('/platform/seo/update/e-${seo.id!}')">${_res["system.edit"]}</button>
		               	<% } %>
		                <% if(hasPrivilegeUrl("seoDelete")){ %>
		               		<button type="button" class="btn btn-sm btn-link" onClick="ajaxDelete('/platform/seo/delete/${seo.id!}')">${_res["system.delete"]}</button>
		               	<% } %>
		            </td>
		      </tr>
		     <% } %>
	    </tbody>
	</table>
	<div id="splitPageDiv">
		<#page formId="searchForm"  />
	</div>
	<#nav />
</div>
